'use strict';

const mongoose = require('mongoose'),
    Schema = mongoose.Schema;

let UserSchema = new Schema({
  UserName: {type: String, unique: true},
  Password: String,
  Role: String,
  ReadOnly: Boolean,
  Date: String
}, {
  collection: 'user'
});
mongoose.model('User', UserSchema);
